🎖️GitЯра🎖️
Node / meshtastic / Meshtastic-Android / files / .github / instructions / ci-workflows.instructions.md
Displaying Raw • View rendered • Download
.github/instructions/ci-workflows.instructions.md 6cb1bf60a5064d9edb21e45bcea9cb61e210a7c9 (6cb1bf60) Text, 1.15 KB
---
applyTo: "**/*.yml"
Tc9d1d9excludeAgent: "code-review"
Tc9d1d9---
Tc9d1d9# CI Workflow Rules
Tff7b72- Prefer explicit Gradle task paths (Ta5d6ff`androidApp:lintFdroidDebug`) over shorthand (Ta5d6ff`lintDebug`).
Tff7b72- CI uses Ta5d6ff`.github/ci-gradle.properties` — don't assume local Ta5d6ff`gradle.properties` values.
Tff7b72- CI passes Ta5d6ff`-Pci=true` to enable full processor usage via Ta5d6ff`maxParallelForks`.
Tff7b72- Use Ta5d6ff`fetch-depth: 0` only where needed (spotless ratcheting, version code). Use Ta5d6ff`fetch-depth: 1` otherwise.
Tff7b72- Desktop build matrix: Ta5d6ff`macos-latest`, Ta5d6ff`windows-latest`, Ta5d6ff`ubuntu-24.04`, Ta5d6ff`ubuntu-24.04-arm`.
Tff7b72- Lightweight jobs (status gates, labelers, triage, stale, run-cancellers, changelog/release
cleanup): use Ta5d6ff`ubuntu-slim`. It is container-backed and starts in seconds, but it is
single-CPU, unprivileged, x64-only, and its 15-minute job cap is a hard platform limit — so it
fits API/script work (Ta5d6ff`gh`, Ta5d6ff`jq`, Ta5d6ff`git`, stdlib Ta5d6ff`python3`, Ta5d6ff`github-script`) and nothing that
needs Ta5d6ff`sudo`, Ta5d6ff`apt-get`, Docker, a mounted filesystem, or a long full-history clone.
Tff7b72- Lightweight jobs that break any of those constraints: use Ta5d6ff`ubuntu-24.04-arm` runners.
Tff7b72- Gradle-heavy jobs: use Ta5d6ff`ubuntu-24.04` runners.
Served by rngit 1.5.4 - Generated in 0.05s